<!--
 * @Author: [kangjie]
 * @Date: 2022-04-08 14:46:08
 * @LastEditors: [kangjie]
 * @LastEditTime: 2022-04-08 14:59:07
 * @Description: 
-->
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <script src="./js/axios-0.20.0.js"></script>
  <script src="./js/qs-6.9.4.min.js"></script>
</head>
<body>
  <script>
    // 创建axios实例 并且设置默认值
    let instance = axios.create({
      method:'post',
      headers:{
        'Auth':'token123'
      },
      timeout:2000,
      // 基础路径
      baseURL:'http://121.199.0.35:8888'
    });
    // instance.get('/index/carousel/findAll');
    instance({url:'/index/carousel/findAll'});
  </script>
</body>
</html>